﻿using AbpApplication.AppServices;
using AbpApplication.InPut;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;

namespace AbpWebapi.Controllers
{
    [Route("api/[controller]/[action]")]
    [ApiController]
    public class ViewServiceController : ControllerBase
    {
        private readonly IViewService viewService;

        public ViewServiceController(IViewService viewService)
        {
            this.viewService = viewService;
        }

        [HttpPost]
        public  async Task<ApiResponsePage> GetList_View_Materials(InPut_ViewService Input)=>await viewService.GetList_View_Materials(Input);
        [HttpPost]
        public async  Task<ApiResponse> GetList_View_User()=>await viewService.GetList_View_User();


    }
}
